package com.fowo.api.sys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fowo.api.sys.entity.SysApplication;
import com.fowo.api.sys.model.SysApplicationItemVo;
import com.fowo.api.sys.model.SysApplicationSearch;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysApplicationMapper extends BaseMapper<SysApplication> {
    Page<SysApplicationItemVo> searchPage(Page page, @Param("search") SysApplicationSearch search);

    List<SysApplicationItemVo> search(@Param("search") SysApplicationSearch search);
}
